package com.unism.entity;

import java.io.Serializable;
import java.util.UUID;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 实例信息
 * @author windearjj
 */
@TableName("IN_Instance")
public class INInstance  extends Model<INInstance> {
	private static final long serialVersionUID = 201513560000L;
	@TableId
	private String id ;
	@TableField
	private Long deviceId;//设备外键
	@TableField
	private Integer deviceType;//设备类型
	@TableField
	private Boolean isGprs;//是否是Gprs设备，true：gprs设备；false：uws设备
	@TableField
	private Integer count;//更换次数
	@TableField
	private Integer status;//实例状态
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Long getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(Long deviceId) {
		this.deviceId = deviceId;
	}
	public Integer getDeviceType() {
		return deviceType;
	}
	public void setDeviceType(Integer deviceType) {
		this.deviceType = deviceType;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Boolean getIsGprs() {
		return isGprs;
	}
	public void setIsGprs(Boolean isGprs) {
		this.isGprs = isGprs;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return UUID.fromString("unism").toString();
	}
}
